[INFO] cloning repository https://github.com/rishavchakra/Chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rishavchakra/Chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishavchakra%2FChess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishavchakra%2FChess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fec0d98ed97aa4482872ff295d241b8c046417e5
[INFO] building rishavchakra/Chess against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishavchakra%2FChess" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rishavchakra/Chess on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rishavchakra/Chess
[INFO] finished tweaking git repo https://github.com/rishavchakra/Chess
[INFO] tweaked toml for git repo https://github.com/rishavchakra/Chess written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/rishavchakra/Chess already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3fd85910509452e6b0ea88e1d737e1caf5d247ada0fc4550d35e2550dc4b331b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3fd85910509452e6b0ea88e1d737e1caf5d247ada0fc4550d35e2550dc4b331b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3fd85910509452e6b0ea88e1d737e1caf5d247ada0fc4550d35e2550dc4b331b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3fd85910509452e6b0ea88e1d737e1caf5d247ada0fc4550d35e2550dc4b331b", kill_on_drop: false }`
[INFO] [stdout] 3fd85910509452e6b0ea88e1d737e1caf5d247ada0fc4550d35e2550dc4b331b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] b7f77119153d7bf47577d2a581b898340135cc879ce6d50c74bffc195d64b93b
[INFO] running `Command { std: "docker" "start" "-a" "b7f77119153d7bf47577d2a581b898340135cc879ce6d50c74bffc195d64b93b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.89
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling piston-float v1.0.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling syn v1.0.64
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling serde v1.0.124
[INFO] [stderr]    Compiling serde_derive v1.0.124
[INFO] [stderr]    Compiling piston-graphics_api_version v1.0.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling piston-texture v0.8.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling read_color v1.0.0
[INFO] [stderr]    Compiling interpolation v0.2.0
[INFO] [stderr]    Compiling piston-shaders_graphics2d v0.4.0
[INFO] [stderr]    Compiling libloading v0.7.0
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling libloading v0.6.7
[INFO] [stderr]    Compiling crossbeam-utils v0.8.3
[INFO] [stderr]    Compiling memoffset v0.6.1
[INFO] [stderr]    Compiling wayland-sys v0.28.5
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling nom v6.1.2
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling lock_api v0.4.2
[INFO] [stderr]    Compiling piston-viewport v1.0.0
[INFO] [stderr]    Compiling vecmath v1.0.0
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling shader_version v0.7.0
[INFO] [stderr]    Compiling dlib v0.5.0
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling regex v1.4.5
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling andrew v0.3.1
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling piston2d-graphics v0.39.0
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.3
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling wayland-scanner v0.28.5
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling nix v0.20.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling memmap2 v0.1.0
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling xcursor v0.3.3
[INFO] [stderr]    Compiling gfx v0.18.2
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling wayland-client v0.28.5
[INFO] [stderr]    Compiling wayland-protocols v0.28.5
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling wayland-commons v0.28.5
[INFO] [stderr]    Compiling calloop v0.6.5
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling gfx_device_gl v0.16.2
[INFO] [stderr]    Compiling wayland-cursor v0.28.5
[INFO] [stderr]    Compiling wayland-egl v0.28.5
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling piston-gfx_texture v0.41.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.72.0
[INFO] [stderr]    Compiling pistoncore-input v1.0.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.12.3
[INFO] [stderr]    Compiling pistoncore-window v0.47.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.52.0
[INFO] [stderr]    Compiling piston v0.52.1
[INFO] [stderr]    Compiling winit v0.24.0
[INFO] [stderr]    Compiling glutin v0.26.0
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.68.2
[INFO] [stderr]    Compiling piston_window v0.117.0
[INFO] [stderr]    Compiling Chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `startpiece`
[INFO] [stdout]   --> src/chess/board.rs:90:7
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let startpiece: &Piece = &self.board[frompos];
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_startpiece`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> src/gui.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |     while let Some(e) = window.next() {
[INFO] [stdout]   |                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Piece`
[INFO] [stdout]  --> src/chess/piece.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Piece {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `PAWN`
[INFO] [stdout]  --> src/chess/piece.rs:6:2
[INFO] [stdout]   |
[INFO] [stdout] 6 |     const PAWN: u8 = 0b00000001; // 1
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `KNIGHT`
[INFO] [stdout]  --> src/chess/piece.rs:7:2
[INFO] [stdout]   |
[INFO] [stdout] 7 |     const KNIGHT:u8= 0b00000010; // 2
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `BISHOP`
[INFO] [stdout]  --> src/chess/piece.rs:8:2
[INFO] [stdout]   |
[INFO] [stdout] 8 |     const BISHOP:u8= 0b00000011; // 3
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `ROOK`
[INFO] [stdout]  --> src/chess/piece.rs:9:2
[INFO] [stdout]   |
[INFO] [stdout] 9 |     const ROOK: u8 = 0b00000100; // 4
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `QUEEN`
[INFO] [stdout]   --> src/chess/piece.rs:10:2
[INFO] [stdout]    |
[INFO] [stdout] 10 |     const QUEEN: u8= 0b00000101; // 5
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `KING`
[INFO] [stdout]   --> src/chess/piece.rs:11:2
[INFO] [stdout]    |
[INFO] [stdout] 11 |     const KING: u8 = 0b00000110; // 6
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `WHITE`
[INFO] [stdout]   --> src/chess/piece.rs:12:2
[INFO] [stdout]    |
[INFO] [stdout] 12 |     const WHITE:u8 = 1;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `BIT_PIECE`
[INFO] [stdout]   --> src/chess/piece.rs:14:2
[INFO] [stdout]    |
[INFO] [stdout] 14 |     const BIT_PIECE: u8 = 0b00000111; // First three bits
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `BIT_COLOR`
[INFO] [stdout]   --> src/chess/piece.rs:15:2
[INFO] [stdout]    |
[INFO] [stdout] 15 |     const BIT_COLOR: u8 = 0b00001000; // Fourth bit
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `BIT_PAWN`
[INFO] [stdout]   --> src/chess/piece.rs:16:2
[INFO] [stdout]    |
[INFO] [stdout] 16 |     const BIT_PAWN: u8  = 0b00010000; // Fifth bit
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `BIT_CASTLE`
[INFO] [stdout]   --> src/chess/piece.rs:17:2
[INFO] [stdout]    |
[INFO] [stdout] 17 |     const BIT_CASTLE:u8 = 0b00100000; // Sixth bit
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `NAMES_SHORT`
[INFO] [stdout]   --> src/chess/piece.rs:19:2
[INFO] [stdout]    |
[INFO] [stdout] 19 |     const NAMES_SHORT: [char; 7] = [' ', 'p', 'n', 'b', 'r', 'q', 'k'];
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `NAMES`
[INFO] [stdout]   --> src/chess/piece.rs:20:2
[INFO] [stdout]    |
[INFO] [stdout] 20 |     const NAMES: [&'static str; 7] = ["", "pawn", "knight", "bishop", "rook", "queen", "king"];
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `class`
[INFO] [stdout]   --> src/chess/piece.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn class(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_white`
[INFO] [stdout]   --> src/chess/piece.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn is_white(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_allied`
[INFO] [stdout]   --> src/chess/piece.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn is_allied(&self, other: &Piece) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `name`
[INFO] [stdout]   --> src/chess/piece.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn name(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `name_short`
[INFO] [stdout]   --> src/chess/piece.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn name_short(&self) -> char {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/chess/piece.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn new(class: char) -> Option<Piece> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new_long`
[INFO] [stdout]   --> src/chess/piece.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn new_long(class: &str) -> Piece {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `can_castle`
[INFO] [stdout]   --> src/chess/piece.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn can_castle(&self) -> Option<bool> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `poss_moves`
[INFO] [stdout]   --> src/chess/piece.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn poss_moves(&self) -> Vec<i8> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `moves_line`
[INFO] [stdout]   --> src/chess/piece.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub fn moves_line(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Chessboard`
[INFO] [stdout]  --> src/chess/board.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Chessboard {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `FEN_START`
[INFO] [stdout]   --> src/chess/board.rs:17:2
[INFO] [stdout]    |
[INFO] [stdout] 17 |     const FEN_START:&'static str = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1";
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/chess/board.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(&mut self) -> &mut Chessboard {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_fen`
[INFO] [stdout]   --> src/chess/board.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn set_fen(&mut self, fen_str: &str) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `cull_moves`
[INFO] [stdout]   --> src/chess/board.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn cull_moves(&self, pos: i8, poss_moves: &mut Vec<i8>) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `move_piece`
[INFO] [stdout]   --> src/chess/board.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn move_piece(&mut self, frompos: usize, topos: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `Chess` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]   = help: convert the identifier to snake case: `chess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3m 58s
[INFO] running `Command { std: "docker" "inspect" "b7f77119153d7bf47577d2a581b898340135cc879ce6d50c74bffc195d64b93b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7f77119153d7bf47577d2a581b898340135cc879ce6d50c74bffc195d64b93b", kill_on_drop: false }`
[INFO] [stdout] b7f77119153d7bf47577d2a581b898340135cc879ce6d50c74bffc195d64b93b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6606b1e348d54e795a87afa3d26bd7c342ed3eb40714c33b42b941162772d0c5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "6606b1e348d54e795a87afa3d26bd7c342ed3eb40714c33b42b941162772d0c5", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling Chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `startpiece`
[INFO] [stdout]   --> src/chess/board.rs:90:7
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let startpiece: &Piece = &self.board[frompos];
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_startpiece`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> src/gui.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |     while let Some(e) = window.next() {
[INFO] [stdout]   |                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Piece`
[INFO] [stdout]  --> src/chess/piece.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Piece {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `PAWN`
[INFO] [stdout]  --> src/chess/piece.rs:6:2
[INFO] [stdout]   |
[INFO] [stdout] 6 |     const PAWN: u8 = 0b00000001; // 1
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `KNIGHT`
[INFO] [stdout]  --> src/chess/piece.rs:7:2
[INFO] [stdout]   |
[INFO] [stdout] 7 |     const KNIGHT:u8= 0b00000010; // 2
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `BISHOP`
[INFO] [stdout]  --> src/chess/piece.rs:8:2
[INFO] [stdout]   |
[INFO] [stdout] 8 |     const BISHOP:u8= 0b00000011; // 3
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `ROOK`
[INFO] [stdout]  --> src/chess/piece.rs:9:2
[INFO] [stdout]   |
[INFO] [stdout] 9 |     const ROOK: u8 = 0b00000100; // 4
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `QUEEN`
[INFO] [stdout]   --> src/chess/piece.rs:10:2
[INFO] [stdout]    |
[INFO] [stdout] 10 |     const QUEEN: u8= 0b00000101; // 5
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `KING`
[INFO] [stdout]   --> src/chess/piece.rs:11:2
[INFO] [stdout]    |
[INFO] [stdout] 11 |     const KING: u8 = 0b00000110; // 6
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `WHITE`
[INFO] [stdout]   --> src/chess/piece.rs:12:2
[INFO] [stdout]    |
[INFO] [stdout] 12 |     const WHITE:u8 = 1;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `BIT_PIECE`
[INFO] [stdout]   --> src/chess/piece.rs:14:2
[INFO] [stdout]    |
[INFO] [stdout] 14 |     const BIT_PIECE: u8 = 0b00000111; // First three bits
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `BIT_COLOR`
[INFO] [stdout]   --> src/chess/piece.rs:15:2
[INFO] [stdout]    |
[INFO] [stdout] 15 |     const BIT_COLOR: u8 = 0b00001000; // Fourth bit
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `BIT_PAWN`
[INFO] [stdout]   --> src/chess/piece.rs:16:2
[INFO] [stdout]    |
[INFO] [stdout] 16 |     const BIT_PAWN: u8  = 0b00010000; // Fifth bit
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `BIT_CASTLE`
[INFO] [stdout]   --> src/chess/piece.rs:17:2
[INFO] [stdout]    |
[INFO] [stdout] 17 |     const BIT_CASTLE:u8 = 0b00100000; // Sixth bit
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `NAMES_SHORT`
[INFO] [stdout]   --> src/chess/piece.rs:19:2
[INFO] [stdout]    |
[INFO] [stdout] 19 |     const NAMES_SHORT: [char; 7] = [' ', 'p', 'n', 'b', 'r', 'q', 'k'];
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `NAMES`
[INFO] [stdout]   --> src/chess/piece.rs:20:2
[INFO] [stdout]    |
[INFO] [stdout] 20 |     const NAMES: [&'static str; 7] = ["", "pawn", "knight", "bishop", "rook", "queen", "king"];
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `class`
[INFO] [stdout]   --> src/chess/piece.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn class(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_white`
[INFO] [stdout]   --> src/chess/piece.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     pub fn is_white(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_allied`
[INFO] [stdout]   --> src/chess/piece.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn is_allied(&self, other: &Piece) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `name`
[INFO] [stdout]   --> src/chess/piece.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn name(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `name_short`
[INFO] [stdout]   --> src/chess/piece.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn name_short(&self) -> char {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/chess/piece.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn new(class: char) -> Option<Piece> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new_long`
[INFO] [stdout]   --> src/chess/piece.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn new_long(class: &str) -> Piece {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `can_castle`
[INFO] [stdout]   --> src/chess/piece.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     pub fn can_castle(&self) -> Option<bool> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `poss_moves`
[INFO] [stdout]   --> src/chess/piece.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn poss_moves(&self) -> Vec<i8> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `moves_line`
[INFO] [stdout]   --> src/chess/piece.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub fn moves_line(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Chessboard`
[INFO] [stdout]  --> src/chess/board.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Chessboard {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constant is never used: `FEN_START`
[INFO] [stdout]   --> src/chess/board.rs:17:2
[INFO] [stdout]    |
[INFO] [stdout] 17 |     const FEN_START:&'static str = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1";
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/chess/board.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(&mut self) -> &mut Chessboard {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_fen`
[INFO] [stdout]   --> src/chess/board.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn set_fen(&mut self, fen_str: &str) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `cull_moves`
[INFO] [stdout]   --> src/chess/board.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn cull_moves(&self, pos: i8, poss_moves: &mut Vec<i8>) {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `move_piece`
[INFO] [stdout]   --> src/chess/board.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn move_piece(&mut self, frompos: usize, topos: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: crate `Chess` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout]   = help: convert the identifier to snake case: `chess`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 33 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 19.89s
[INFO] running `Command { std: "docker" "inspect" "6606b1e348d54e795a87afa3d26bd7c342ed3eb40714c33b42b941162772d0c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6606b1e348d54e795a87afa3d26bd7c342ed3eb40714c33b42b941162772d0c5", kill_on_drop: false }`
[INFO] [stdout] 6606b1e348d54e795a87afa3d26bd7c342ed3eb40714c33b42b941162772d0c5
